package com.nuanshui.heatedloan.credit.pay;

import com.nuanshui.heatedloan.dubbo.DubboResponse;

import java.io.Serializable;

public class PayResult implements Serializable {

    //结果值 1 成功 2 处理中 3 失败
    private Integer code;

    private String msg;

    //失败错误值
    private String errorCode;

    //通联错误码
    private String allinPayCode;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getAllinPayCode() {
        return allinPayCode;
    }

    public void setAllinPayCode(String allinPayCode) {
        this.allinPayCode = allinPayCode;
    }

//    public DubboResponse getDubboResponse(){
//        DubboResponse resp = new DubboResponse();
//        resp.setMsg(this.msg);
//        //resp.setCode(this.code);
//        resp.setData(this.data);
//        return resp;
//    }
}
